package com.guazi.trackingtest.cal.op;

import com.guazi.trackingtest.cal.data.Point3D;

public class Correction {
    public static Point3D LinearCorrection(Point3D originalLinearValue, Point3D calibratingLinearValue) {
        Point3D linearCorrectionResult = new Point3D(originalLinearValue);
        return linearCorrectionResult.subtract(calibratingLinearValue);
    }

    public static Point3D RotationCorrection(Point3D originalRotationValue, Point3D calibratingRotationValue) {
        Point3D rotationCorrectionResult = new Point3D(originalRotationValue);
        return rotationCorrectionResult.subtract(calibratingRotationValue);
    }
}